﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace YXShop.Model.Product
{
    public class Product_SendGroupBuyInfo
    {
         #region "member variant"
        private int _id;
		private int _uid;
		private int _productid;
		private int _buycount;
		private decimal _deposit;
		private string _address;
		private string _title;
		private string _synopsis;
		private string _content;
        private string _images = string.Empty;
		private int _state;
		private DateTime? _createtime;
		private string _createip;
		private DateTime? _activitystarttime;
		private DateTime? _activityendtime;
        private string _activityqq;
        private int? _signupnumber;
        private int? _withsignupnumber;
        private string _tel;
        private string _idcard;
        private string _name;
        #endregion

        #region "Constructor"
        /// <summary>
        /// 构造一个空的新的数据访问对象
        /// </summary>
        /// <remarks></remarks>
        public Product_SendGroupBuyInfo()
        {
        }
        #endregion

        #region "Property"
        /// <summary>
        /// 与数据库基本列id相对应的公共属性, Caption:id
        /// </summary>
        /// <remarks></remarks>
        public int ID
        {
            get { return _id; }
            set { _id = value; }
        }
        /// <summary>
        /// 报名人数
        /// </summary>
        public int? SignupNumber
        {
            get { return _signupnumber; }
            set{ _signupnumber = value;}
        }

        /// <summary>
        /// 已报名人数
        /// </summary>
        public int? WithSignUpNumber
        {
            get { return _withsignupnumber; }
            set { _withsignupnumber = value; }
        }
        /// <summary>
        /// qq号,或者qq群号
        /// </summary>
        public string ActivityQQ
        {
            get { return _activityqq; }
            set { _activityqq = value; }
        }
      
        /// <summary>
        /// 会员编号
        /// </summary>
        public int UID
        {
            set { _uid = value; }
            get { return _uid; }
        }
        /// <summary>
        /// 商品编号
        /// </summary>
        public int ProductID
        {
            set { _productid = value; }
            get { return _productid; }
        }
        
        /// <summary>
        /// 求购数量
        /// </summary>
        public int BuyCount
        {
            set { _buycount = value; }
            get { return _buycount; }
        }
        /// <summary>
        /// 保证金
        /// </summary>
        public decimal Deposit
        {
            set { _deposit = value; }
            get { return _deposit; }
        }
        /// <summary>
        /// 地区
        /// </summary>
        public string Address
        {
            set { _address = value; }
            get { return _address; }
        }
        /// <summary>
        /// 主题目
        /// </summary>
        public string Title
        {
            set { _title = value; }
            get { return _title; }
        }
        /// <summary>
        /// 简述
        /// </summary>
        public string Synopsis
        {
            set { _synopsis = value; }
            get { return _synopsis; }
        }
        /// <summary>
        /// 详细说明
        /// </summary>
        public string Content
        {
            set { _content = value; }
            get { return _content; }
        }
        /// <summary>
        /// 图片地址
        /// </summary>
        public string Images
        {
            set { _images = value; }
            get { return _images; }
        }
        /// <summary>
        /// 状态
        /// </summary>
        public int State
        {
            set { _state = value; }
            get { return _state; }
        }
        /// <summary>
        /// 创建时间差
        /// </summary>
        public DateTime? CreateTime
        {
            set { _createtime = value; }
            get { return _createtime; }
        }
        /// <summary>
        /// 创建IP
        /// </summary>
        public string CreateIP
        {
            set { _createip = value; }
            get { return _createip; }
        }
        /// <summary>
        /// 集合时间
        /// </summary>
        public DateTime? ActivityStartTime
        {
            set { _activitystarttime = value; }
            get { return _activitystarttime; }
        }
        /// <summary>
        /// 报名结束时间
        /// </summary>
        public DateTime? ActivityEndTime
        {
            set { _activityendtime = value; }
            get { return _activityendtime; }
        }
        /// <summary>
        /// 电话号码
        /// </summary>
        public string Tel
        {
            set { _tel = value; }
            get { return _tel; }
        }
        /// <summary>
        /// 身份证号
        /// </summary>
        public string IDCard
        {
            set { _idcard = value; }
            get { return _idcard; }
        }
        /// <summary>
        /// 真实姓名
        /// </summary>
        public string Name
        {
            set { _name = value; }
            get { return _name; }
        }
        #endregion
    }
}
